<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <meta name="description" content="Web site created using create-react-app" />
    <!-- meta 版本号, 改为由 webpack 自动生成 -->
    <!-- <meta name="version" content="<%= htmlWebpackPlugin.options.version%>" /> -->
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
    <link rel="stylesheet" href="/font/iconfont.css" />
    <!-- 系统暗色配置，这种方式有明显的缺陷 -->
    <!-- <link rel="stylesheet" href="%PUBLIC_URL%/darkMode/light.css" media="(prefers-color-scheme: light)"> -->
    <!-- <link rel="stylesheet" href="%PUBLIC_URL%/darkMode/dark.css" media="(prefers-color-scheme: dark)"> -->
    <title>React 基础 学习</title>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
    <script>
      console.log('navigator', navigator.serviceWorker)
    </script>
  </body>
</html>
